package com.sky.service;

import com.sky.result.Result;
import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @BelongsProject: sky-take-out
 * @Author: XieMingHui
 * @CreateTime: 2023-11-22  07:58
 * @Description: 数据统计处理层接口
 * @Version: 1.0
 */
public interface IDateService {
    Result<SalesTop10ReportVO> top(LocalDate begin, LocalDate end);

    Result<TurnoverReportVO> turnoverStatistics(LocalDate begin, LocalDate end);

    Result<OrderReportVO> ordersStatistics(LocalDate begin, LocalDate end);

    Result<UserReportVO> userStatistics(LocalDate begin, LocalDate end);

    Result<String> export(HttpServletResponse response);
}
